package com.iweb.dao;

import com.iweb.pojo.Community;

import java.util.List;

/*
 *作者：lth
 *时间：2020/8/12 18:17
 *描述：
 */
public interface CommunityDao {

    List<Community> findAll() throws Exception;

    Community selectByUsername(String username) throws Exception;

    Integer updateByName(String username,Integer type) throws Exception;
}
